package com.ruoyi.hotel.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】业务对象 hm_service_request
 *
 * @author ruoyi
 * @date 2023-11-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HmServiceRequestBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long serviceRequestId;

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long checkinId;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceRequestContent;

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date serviceRequestTime;

    /**
     * w=等待处理，n=无法处理，y=已处理
     */
    @NotBlank(message = "w=等待处理，n=无法处理，y=已处理不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isDone;

    private String event;
}
